package org.sdp.pearproject.dto.convert;

import org.sdp.pearproject.dao.domain.*;
import org.sdp.pearproject.dto.request.*;
import java.util.Date;

/**
 * @ClassName: ProjectForNotifyNoReadsCountRequestConvert
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-20
 * @Version: 1.0
 * Table: pear_project
 * Comment:
 * 项目表
 */
public class ProjectForNotifyNoReadsCountRequestConvert extends BaseConvert {
    public static ProjectForNotifyNoReadsCount convert(ProjectForNotifyNoReadsCountRequest request) throws Exception {
        ProjectForNotifyNoReadsCount daoRequest = new ProjectForNotifyNoReadsCount();
        copyProperties(request, daoRequest);

        daoRequest.setType(daoRequest.getType() == null ? null : daoRequest.getType().trim());
        daoRequest.setMemberCode(daoRequest.getMemberCode() == null ? null : daoRequest.getMemberCode().trim());

        return daoRequest;
    }
}
